/* Function called from menu, stonga and subar. When an item is
   choosen from a selection box.
*/

function selectWrapper(source, event, obj) {
    choosen_item = obj.selectedIndex;
    obj.selectedIndex = 0;
    if (choosen_item > 1) {
        val = obj.options[choosen_item].value;
        submitNalle(source, obj.name, event, val);
    } // if
}

function buttonWrapper(source, name) {
    submitNalle(source, name, name, "");
}
